<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>学知题库 - 智能教育资源平台</title>
    <link href="../assets/css/app.css" rel="stylesheet">
    <link href="../assets/css/font-awesome.min.css" rel="stylesheet">
    <script src="../assets/js/chart.umd.min.js"></script>
    
    <!-- 新增现代感样式 -->
    <style>
        .nav-item {
            position: relative;
        }
        .nav-item::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 0;
            height: 3px;
            background-color: #165DFF;
            transition: width 0.3s ease;
        }
        .nav-item.active::after,
        .nav-item:hover::after {
            width: 100%;
        }
        .search-container {
            position: relative;
            transition: all 0.3s ease;
        }
        .search-container:focus-within {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(22, 93, 255, 0.15);
        }
        .mobile-menu-btn {
            display: none;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 8px;
            background-color: #f5f7fa;
            color: #165DFF;
            border: none;
            cursor: pointer;
        }
        @media (max-width: 768px) {
            .mobile-menu-btn {
                display: flex;
            }
        }
    </style>
</head>
<body class="bg-gray-50 font-inter text-gray-800 min-h-screen flex flex-col">
    <!-- 顶部导航栏（现代感优化版） -->
    <header class="bg-white sticky top-0 z-50 transition-all duration-300 shadow-md shadow-gray-100/80 backdrop-blur-sm bg-white/95">
        <div class="container mx-auto px-4">
            <!-- 导航主容器 -->
            <div class="flex items-center justify-between h-16 md:h-20">
                <!-- 品牌Logo -->
                <div class="flex items-center">
                    <a href="#" class="flex items-center group">
                        <div class="w-10 h-10 rounded-lg bg-gradient-primary flex items-center justify-center mr-3 group-hover:scale-105 transition-transform">
                            <i class="fa fa-graduation-cap text-white text-xl"></i>
                        </div>
                        <h1 class="text-xl md:text-2xl font-bold text-gray-800 bg-clip-text text-transparent bg-gradient-to-r from-gray-800 to-gray-600">学知题库</h1>
                    </a>
                </div>
                
                <!-- 桌面端导航菜单 -->
                <nav class="hidden md:flex items-center space-x-8">
                    <a href="#" class="nav-item active text-primary font-medium transition-colors">首页</a>
                    <a href="#" class="nav-item text-gray-600 hover:text-primary transition-colors">题库</a>
                    <a href="#" class="nav-item text-gray-600 hover:text-primary transition-colors">学习路径</a>
                    <a href="#" class="nav-item text-gray-600 hover:text-primary transition-colors">模拟考试</a>
                    <a href="#" class="nav-item text-gray-600 hover:text-primary transition-colors">关于我们</a>
                </nav>
                
                <!-- 右侧功能区 -->
                <div class="flex items-center space-x-4">
                    <!-- 搜索框 -->
                    <div class="hidden md:block search-container">
                        <input type="text" placeholder="搜索题目、知识点或教材..." 
                               class="pl-10 pr-4 py-2 rounded-full bg-gray-100 focus:outline-none focus:ring-2 focus:ring-primary/30 transition-all w-56 md:w-64 text-sm">
                        <i class="fa fa-search absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400"></i>
                    </div>
                    
                    <!-- 用户操作按钮 -->
                    <div class="flex items-center space-x-3">
                        <button class="px-4 py-2 bg-white text-primary border border-primary/20 rounded-lg hover:bg-primary/5 transition-all text-sm font-medium">登录</button>
                        <button class="px-4 py-2 bg-gradient-primary text-white rounded-lg hover:shadow-lg hover:shadow-primary/20 transition-all text-sm font-medium">注册</button>
                    </div>
                    
                    <!-- 移动端菜单按钮 -->
                    <button class="mobile-menu-btn">
                        <i class="fa fa-bars text-gray-700"></i>
                    </button>
                </div>
            </div>
        </div>
    </header>

    <!-- 主内容区 -->
    <main class="flex-1 overflow-y-auto bg-gray-50 py-12">
        <!--这里是前台主要的内容覆盖区域-->
    </main>

    <!-- 页脚 -->
    <footer class="bg-gray-800 text-white py-12">
        <div class="container mx-auto px-4">
            <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
                <div>
                    <div class="flex items-center mb-4">
                        <i class="fa fa-graduation-cap text-primary text-2xl mr-2"></i>
                        <h3 class="text-xl font-bold">学知题库</h3>
                    </div>
                    <p class="text-gray-400 mb-4">智能教育资源平台，助力学生高效学习</p>
                    <div class="flex space-x-4">
                        <a href="#" class="text-gray-400 hover:text-white transition-colors">
                            <i class="fa fa-weibo"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-white transition-colors">
                            <i class="fa fa-wechat"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-white transition-colors">
                            <i class="fa fa-qq"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-white transition-colors">
                            <i class="fa fa-github"></i>
                        </a>
                    </div>
                </div>
                
                <div>
                    <h4 class="text-lg font-medium mb-4">快速链接</h4>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">首页</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">题库</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">学习路径</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">模拟考试</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">关于我们</a></li>
                    </ul>
                </div>
                
                <div>
                    <h4 class="text-lg font-medium mb-4">帮助中心</h4>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">常见问题</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">使用指南</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">意见反馈</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">联系我们</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">隐私政策</a></li>
                    </ul>
                </div>
                
                <div>
                    <h4 class="text-lg font-medium mb-4">联系我们</h4>
                    <ul class="space-y-2">
                        <li class="flex items-center">
                            <i class="fa fa-map-marker text-primary mr-2"></i>
                            <span class="text-gray-400">北京市海淀区中关村大街1号</span>
                        </li>
                        <li class="flex items-center">
                            <i class="fa fa-phone text-primary mr-2"></i>
                            <span class="text-gray-400">400-123-4567</span>
                        </li>
                        <li class="flex items-center">
                            <i class="fa fa-envelope text-primary mr-2"></i>
                            <span class="text-gray-400">contact@xuezhi.com</span>
                        </li>
                        <li class="flex items-center">
                            <i class="fa fa-clock-o text-primary mr-2"></i>
                            <span class="text-gray-400">周一至周日 9:00-21:00</span>
                        </li>
                    </ul>
                </div>
            </div>
            
            <div class="border-t border-gray-700 mt-8 pt-8 text-center text-gray-400">
                <p>&copy; 2025 学知题库 版权所有 | 京ICP备12345678号</p>
            </div>
        </div>
    </footer>
</body>
</html>
